/**
 * Copyright © 2022 SWAK Info.
 * File Name: ContextThreadHolder.java
 */
package com.swak.frame.context;

import org.slf4j.MDC;

/**
 * @ClassName: ThreadLocalClearUp.java
 * @author: colley.ma
 * @date: 2022/03/07
 */
public abstract class ThreadLocalClearUp {

    public static void clear() {
        // 线程变量回收
        ApiContextHolder.clear();
        //时间穿越回收
        SystemClock.clear();
        // log4j MDC回收
        MDC.clear();
    }
}
